package cn.stylefeng.guns.modular.userinfo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 扩展用户信息表
 * </p>
 *
 * @author dong
 * @since 2023-04-22
 */
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "user_id", type = IdType.INPUT)
    private Long userId;

    /**
     * 微信ID
     */
    @TableField("usewechat_id")
    private String usewechatId;

    /**
     * 激活码
     */
    @TableField("activation_code")
    private String activationCode;

    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 性别
     */
    @TableField("gender")
    private String gender;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsewechatId() {
        return usewechatId;
    }

    public void setUsewechatId(String usewechatId) {
        this.usewechatId = usewechatId;
    }

    public String getActivationCode() {
        return activationCode;
    }

    public void setActivationCode(String activationCode) {
        this.activationCode = activationCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
        "userId=" + userId +
        ", usewechatId=" + usewechatId +
        ", activationCode=" + activationCode +
        ", userName=" + userName +
        ", phone=" + phone +
        ", gender=" + gender +
        "}";
    }
}
